import { ParametersType } from "../../Parameters.type"
import { RequestBodyType } from "./RequestBody.type"
import { ResponsesType } from "./Responses.type"

export declare interface PathsType {
    [key: string]: PathsItemType
}

export declare interface PathsItemType {
    post?: PathPostItemType,
    get?: PathGetItemType

}

export declare interface PathGetItemType {
    operationId: string,
    parameters: Array<ParametersType>,
    responses: ResponsesType,
    summary: string,
    tags: Array<string>
}

export declare interface PathPostItemType {
    operationId: string,
    parameters: Array<ParametersType>,
    requestBody?: RequestBodyType,
    responses: ResponsesType,
    summary: string,
    tags: Array<string>
}
